from applications.view.admin import register_admin_views
from applications.view.bands import register_bandas_views
from applications.view.carts import register_wxcarts_views
from applications.view.coupon import register_wxcoupon_views
from applications.view.index import register_index_views
from applications.view.msgtowx import register_msgtowx_views
from applications.view.passport import register_passport_views
from applications.view.remark import register_good_remark_views
from applications.view.rights import register_rights_view
# from applications.view.department import register_dept_views
from applications.view.store import register_stores_views
from applications.view.wx_user import register_wxuser_views

from applications.view.goods import register_goods_views

from applications.view.orders import register_orders_views


def init_view(app):
    # web
    register_admin_views(app)
    register_index_views(app)
    register_rights_view(app)
    register_passport_views(app)

    # 微信
    register_wxuser_views(app)
    # register_dept_views(app)

#     商品
    register_goods_views(app)
#     订单
    register_orders_views(app)

#     购物车
    register_wxcarts_views(app)


#   优惠卷
    register_wxcoupon_views(app)

# 轮播图
    register_bandas_views(app)
    # 商店
    register_stores_views(app)
    # 评论
    register_good_remark_views(app)

    # 发送消息到微信小程序
    register_msgtowx_views(app)